package com.youxin.busfoundation.utils.mybatis;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.youxin.busfoundation.bean.BaseLogBean;
import com.youxin.busfoundation.bean.BaseRequestBean;

/**
 * 客户请求基类信息
 * 
 * @author yingde.cao
 *
 */
public class BaseRequest extends BaseRequestBean{
	
	
	/**
	 * 时间戳,毫秒
	 */

	public long getTimestamp() {
		return System.currentTimeMillis();
	}

	/**
	 * 应用系统类型,1表示PC,2表示OA,3表示企业版
	 */
	@JsonProperty(value = "system_type")
	private int systemType;

	public int getSystemType() {
		return systemType;
	}

	public void setSystemType(int systemType) {
		this.systemType = systemType;
	}

	private BaseLogBean log;

	public BaseLogBean getLog() {
		return log;
	}

	public void setLog(BaseLogBean log) {
		this.log = log;
	}

}
